package com.isoft.demo.service;

import com.isoft.demo.common.ResponseData;
import com.isoft.demo.entity.CustomerInfo;

import javax.annotation.Resource;


@Resource
public interface CustomerService {
    //添加
     ResponseData addCustomer(CustomerInfo customerInfo);
    //删除
     ResponseData deleteCustomer(int cid);
    //修改
     ResponseData updateCustomer(CustomerInfo customerInfo);
     //修改个人信息
    ResponseData updateCus(CustomerInfo customerInfo);
    //查询所有
     ResponseData findAll();
     ResponseData login(CustomerInfo customerInfo);
     //根据id查找
    ResponseData findById(Integer cid);
}
